// import { createRouter, createWebHashHistory } from "vue-router";


export default [
  {
    path: '/orderdel',
    // redirect: '/recommend',
    component: () => import('../views/order.vue'),
    children: [
      {
        path: '/drink',
        component: () => import('../views/orderDel/Drink.vue')
      },
    ]
  },
  {
    path: '/confirmord/:idx?',
    component: () => import('../views/confirmOrder.vue')
  },
  {
    path: '/paysuccess',
    component: () => import('../views/pay/paySuccess.vue')
  },
  {
    path: '/payfail',
    component: () => import('../views/pay/payFail.vue')
  },
  {
    path: '/takeout',
    component: () => import('../views/orderIndex/takeOut.vue')
  },
  {
    path: '/finished',
    component: () => import('../views/payDel/finished.vue')
  },
  {
    path: '/addressdel/:idx?',
    component: () => import('../views/address/addressDel.vue')
  },
  {
    path: '/addresslist',
    component: () => import('../views/address/addressList.vue')
  },
  {
    path: '/skeleton',
    component: () => import('../views/skeleton/index.vue')
  }
]
